package com.bd.scm.dao.mapper.vacation;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bd.scm.domain.dto.vacation.VacationPersonal;
import com.bd.scm.domain.models.vacation.HolidaysTimeView;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author yufc
 */
public interface HolidaysTimeViewMapper extends BaseMapper<HolidaysTimeView> {


    /**
     * 个人假期详情
     *
     * @param userId
     * @return
     */
    VacationPersonal getPersonalVacation(@Param("userId") Long userId);
}